package y24.m3.java;

import java.util.Scanner;

/**
 * @author 骆天齐
 * @version 1.0
 * 打印三角形
 */
public class Test2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int l = scanner.nextInt();
        for (int i = 1; i <= l; i++) {
            for (int j = 1; j <= l-i; j++) {
                System.out.print(" ");
            }
            for (int j = 0; j < 2*i-1; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
